<template>
	<view>
		<view class="tag" >
			<view class="tag_item" v-for="item in tagnum">
			<image src="../static/icons/tag.png" class="tag_img" ></image>
			<i>{{tags[item.label-1]}}</i>
			</view>
		</view>
	</view>
</template>

<script>
	export default
	{		
		props:["tagnum"],
		data(){
			return{
				tags:["特色小吃","异域美食","甜点饮品","能量早餐","正餐优选","夜宵必备"]
			}
			
		}
	}
</script>

<style lang="less">
	.tag{
		display: flex;
	.tag_item{
		display: flex;
		width:120rpx;
		height:30rpx;
	.tag_img{
		height:30rpx;
		width:30rpx;
	}
	i{
		font-size: 12px;
		font-weight: 500;
		letter-spacing: 0;
		color: #DD524D;
		}
		}
	}

</style>
